/*
 * SPDX-FileCopyrightText: 2010-2022 Espressif Systems (Shanghai) CO LTD
 *
 * SPDX-License-Identifier: CC0-1.0
 */

#include <stdio.h>
#include <inttypes.h>
#include "sdkconfig.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_chip_info.h"
#include "esp_flash.h"
#include "esp_system.h"
#include "usbd_core.h"
#include "usbh_core.h"
#include "HAL/HAL.h"

void app_main(void)
{
    uint16_t ResultSW = 0X00;		// 最终结果返回状态

    esp_rom_delay_us(5000); 
    USB_LOG_INFO("PSRAM free size: %d\n",heap_caps_get_free_size(MALLOC_CAP_SPIRAM));
    HAL_Init();
    // usbh_initialize(0, 0x60080000);
    while (1)
    {
        vTaskDelay(10);
        /* code */
    }
    
}
